package com.test.pojo;

import javafx.fxml.Initializable;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

import javax.security.auth.Destroyable;
import java.net.URL;
import java.util.ResourceBundle;

/**
 * @Aurher: QiaoHang
 * @Description:
 * @Data: 2019/9/12 8:43
 * @Modified By:
 */
public class Blue implements InitializingBean, DisposableBean {
    public Blue(){
        System.out.println("blue...constructor...");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("blue...init...");
    }

    @Override
    public void destroy() throws Exception {
        System.out.println("blue...destory...");
    }

    public void myInit(){
        System.out.println("blue...myInit .....");
    }

    public void myDestory(){
        System.out.println("blue...myDestory .....");
    }
}
